package com.fit.interfaces;

import java.util.Date;
import java.util.List;

import com.fit.service.BorrowsI;


public interface BorrowI {

	public long getId();

	public void setId(long id);

	public String getName();

	public void setName(String name);

	public Date getDateOfBorrow();

	public void setDateOfBorrow(Date dateOfBorrow);

	public User getUser();

	public void setUser(User user);
	
	public Date getReturnDateOfBorrow();
	
	public void setReturnDateOfBorrow(Date returnDateOfBorrow);
	
//	public List<CarI> getCars();
//	
//	public void setCars(List<CarI> cars);
	
	public double getSummary();
	
	public void setSummary(double summary);
	
	public CarI getCar();
	
	public void setCar(CarI car);
	
	public void executeBorrowCreation(String name,Date dateOfBorrow,Date returnDateOfBorrow,double summary,User user,CarI car);

}